home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
g_man
/
cat3
/
OpenGL-ftn
/
fgluquadriccallback.z
/
fgluquadriccallback
Wrap
Text File
|
1998-10-20
|
3KB
|
67 lines
ffffgggglllluuuuQQQQuuuuaaaaddddrrrriiiiccccCCCCaaaallllllllbbbbaaaacccckkkk((((3333GGGG)))) OOOOppppeeeennnnGGGGLLLL RRRReeeeffffeeeerrrreeeennnncccceeee ffffgggglllluuuuQQQQuuuuaaaaddddrrrriiiiccccCCCCaaaallllllllbbbbaaaacccckkkk((((3333GGGG))))
NNNNAAAAMMMMEEEE
ffffgggglllluuuuQQQQuuuuaaaaddddrrrriiiiccccCCCCaaaallllllllbbbbaaaacccckkkk - define a callback for a quadrics object
FFFFOOOORRRRTTTTRRRRAAAANNNN SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
SUBROUTINE ffffgggglllluuuuQQQQuuuuaaaaddddrrrriiiiccccCCCCaaaallllllllbbbbaaaacccckkkk( CHARACTER*8 _q_u_a_d,
INTEGER*4 _w_h_i_c_h,
CHARACTER*8 (_C_a_l_l_B_a_c_k_F_u_n_c)( )
PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
_q_u_a_d Specifies the quadrics object (created with
ffffgggglllluuuuNNNNeeeewwwwQQQQuuuuaaaaddddrrrriiiicccc).
_w_h_i_c_h Specifies the callback being defined. The only valid value
is GGGGLLLLUUUU____EEEERRRRRRRROOOORRRR.
_C_a_l_l_B_a_c_k_F_u_n_c Specifies the function to be called.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
ffffgggglllluuuuQQQQuuuuaaaaddddrrrriiiiccccCCCCaaaallllllllbbbbaaaacccckkkk is used to define a new callback to be used by a
quadrics object. If the specified callback is already defined, then it
is replaced. If _C_a_l_l_B_a_c_k_F_u_n_c is NULL, then any existing callback is
erased.
The one legal callback is GGGGLLLLUUUU____EEEERRRRRRRROOOORRRR:
GGGGLLLLUUUU____EEEERRRRRRRROOOORRRR The function is called when an error is encountered. Its
single argument is of type GLenum, and it indicates the
specific error that occurred. Character strings
describing these errors can be retrieved with the
ffffgggglllluuuuEEEErrrrrrrroooorrrrSSSSttttrrrriiiinnnngggg call.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
ffffgggglllluuuuEEEErrrrrrrroooorrrrSSSSttttrrrriiiinnnngggg, ffffgggglllluuuuNNNNeeeewwwwQQQQuuuuaaaaddddrrrriiiicccc
PPPPaaaaggggeeee 1111